<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/page/common/public.jspf"%>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>项目详情</title>
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
<link href="${skin }/theme.css" rel="stylesheet" type="text/css" />
<link href="${skin }/index.css" rel="stylesheet" type="text/css" />
<script src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<script type="text/javascript">
function selectTag(showContent,selfObj){
	// 操作标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "mt_link2";
	}
	selfObj.className = "mt_hover2";
	// 操作内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
}
</script>
</head>

<body bgcolor="#f9f9f9">

        <!-- head -->
		<c:import url="../include/top.jsp"></c:import>
    	<!--主体-->
    	
        <div class="pageCenter registeredBox">
        	<div class="activationBox">
            	<div class="projectTitle"></div>
            	<h2 class="xqH2">${project.projectname }</h2> 
                <div class="xqDiv">
                	<div class="xqDivLeft float_l"><img src="${path }/images/xm0819_03.jpg" /></div>
                	<div class="xqDivCenter float_l">
                    	<table cellpadding="0" cellspacing="0" width="100%" class="xqTable">
                        	<tr>
                            	<td>项目类型</td>
                                <td>所在地区</td>
                                <td>所属行业</td>
                            </tr>
                            <tr>
                            	<td class="fSize_16">
                            	${project.projectType.text}
                            	</td>
                                <td class="fSize_16">
                               		 ${project.location.text}
	                    		</td>
                                <td class="fSize_16">${project.bussinessType.text}</td>
                            </tr>
                            <tr>
                            	<td colspan="3">发布日期：
                            	<fmt:formatDate value="${project.createTime}" type="both" pattern="yyyy-MM-dd"/>
                            	</td>
                            </tr>
                            <tr>
                            	<td colspan="3">融资用途：
                            	${project.userfor}</td>
                            </tr>
                            <tr>
                            	<td colspan="3">融资金额：${project.financeMoney }</td>
                            </tr>
                            <tr>
                            	<td colspan="3">意向资金：${project.intentMoney }</td>
                            </tr>
                            <tr>
                            	<td colspan="3">融资方式：${project.financeType.text }</td>
                            </tr>
                            <tr>
                            	<td colspan="3">可提供资料：${project.providestuff}
                            	</td>
                            </tr>
                            <tr>
                            	<td colspan="3">项目所处阶段：${project.projectstage }
                            	</td>
                            </tr>
                            <tr>
                            	<td colspan="3">资金方占股比例：${project.moneysiderage }
                            	</td>
                            </tr>
                            <tr>
                            	<td colspan="3">投资退出方式：${project.exitType.text }
                            	</td>
                            </tr>
                            <tr>
                            	<td colspan="3">最短退出年限：${project.shortquicktime }</td>
                            </tr>
                        </table>
                    </div>
                    <div class="xqDivRight float_r">
                        <div class="marginT_20">
                        	<input  type="button" name="yyBtn" id="yyBtn" value="约谈项目方" onclick="toorder('${project.id}')" class="greenBtn" />
                        	<script type="text/javascript">
							      function toorder (id) {
							           window.location.href = "<%=request.getContextPath()%>/project/toOrder.htm?projectId="+id;
							      }
							</script>
                        </div>
                    </div>
                    <div class="clear_both"></div>
                </div>
                
                <div class="mt_sportBox2">           
                    <ul class="mt_sportBoxHead2" id="tags">
                        <li class="mt_hover2" onclick="selectTag('tagContent0',this)">项目概述</li>
                        <li class="mt_link2" onclick="selectTag('tagContent1',this)">项目优势</li>
                        <li class="mt_link2" onclick="selectTag('tagContent2',this)">备注</li>
                    </ul>
                    <div class="clear_both mt_sportBoxContent2">
                        <div style="display: block;" id="tagContent0">
                            ${project.projectDesc }
                        </div>
                        <div style="display:none;" id="tagContent1">
                           	${project.projectGoodness }
                        </div>
                        <div style="display:none;" id="tagContent2">
                           	${project.bz }
                        </div>
                    </div>
                </div>      
            </div>
        </div>
    	<!--主体-->
    	<!--foot-->
        <c:import url="../include/foot.jsp"></c:import>
        <!--foot-->  
 
</body>
</html>